﻿using System;

namespace SharpSqlAnalyzer.nodes
{
	// Token: 0x02000364 RID: 868
	public class TTruncateTableSqlNode : TParseTreeNode
	{
		// Token: 0x170007A7 RID: 1959
		// (get) Token: 0x060023F1 RID: 9201 RVA: 0x00337FC2 File Offset: 0x003361C2
		// (set) Token: 0x060023F2 RID: 9202 RVA: 0x00337FCA File Offset: 0x003361CA
		public bool TableKeyword
		{
			get
			{
				return this._tableKeyword;
			}
			set
			{
				this._tableKeyword = value;
			}
		}

		// Token: 0x170007A8 RID: 1960
		// (get) Token: 0x060023F3 RID: 9203 RVA: 0x00337FD3 File Offset: 0x003361D3
		// (set) Token: 0x060023F4 RID: 9204 RVA: 0x00337FDB File Offset: 0x003361DB
		public TSourceToken ImmediateToken
		{
			get
			{
				return this._immediateToken;
			}
			set
			{
				this._immediateToken = value;
			}
		}

		// Token: 0x170007A9 RID: 1961
		// (get) Token: 0x060023F5 RID: 9205 RVA: 0x00337FE4 File Offset: 0x003361E4
		public virtual TObjectNameList Columns
		{
			get
			{
				return this.columns;
			}
		}

		// Token: 0x170007AA RID: 1962
		// (get) Token: 0x060023F6 RID: 9206 RVA: 0x00337FEC File Offset: 0x003361EC
		public virtual TFromTableList FromTableList
		{
			get
			{
				return this.fromTableList;
			}
		}

		// Token: 0x170007AB RID: 1963
		// (get) Token: 0x060023F7 RID: 9207 RVA: 0x00337FF4 File Offset: 0x003361F4
		public virtual TObjectName TableName
		{
			get
			{
				return this.tableName;
			}
		}

		// Token: 0x060023F8 RID: 9208 RVA: 0x00337FFC File Offset: 0x003361FC
		public override void init(object arg1)
		{
			if (arg1 is TObjectName)
			{
				this.tableName = (TObjectName)arg1;
				this.tableName.ObjectType = 3;
				return;
			}
			if (arg1 is TFromTableList)
			{
				this.fromTableList = (TFromTableList)arg1;
			}
		}

		// Token: 0x170007AC RID: 1964
		// (get) Token: 0x060023F9 RID: 9209 RVA: 0x00338033 File Offset: 0x00336233
		public virtual TPartitionExtensionClause PartitionExtensionClause
		{
			get
			{
				return this.partitionExtensionClause;
			}
		}

		// Token: 0x060023FA RID: 9210 RVA: 0x0033803B File Offset: 0x0033623B
		public override void init(object arg1, object arg2)
		{
			this.init(arg1);
			this.partitionExtensionClause = (TPartitionExtensionClause)arg2;
		}

		// Token: 0x060023FB RID: 9211 RVA: 0x00338050 File Offset: 0x00336250
		public override void init(object arg1, object arg2, object arg3)
		{
			this.init(arg1, arg2);
			this.columns = (TObjectNameList)arg3;
		}

		// Token: 0x04001BEF RID: 7151
		private TPartitionExtensionClause partitionExtensionClause;

		// Token: 0x04001BF0 RID: 7152
		private TObjectNameList columns;

		// Token: 0x04001BF1 RID: 7153
		private TFromTableList fromTableList;

		// Token: 0x04001BF2 RID: 7154
		private bool _tableKeyword = true;

		// Token: 0x04001BF3 RID: 7155
		private TSourceToken _immediateToken;

		// Token: 0x04001BF4 RID: 7156
		private TObjectName tableName;
	}
}
